package org.choerodon.address;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 网关
 *
 * @author jiu.yang@choerodon-china.com
 * @date 2020/6/5 15:21
 */


@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("org.choerodon.address.infra.mapper")
public class AddressApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(AddressApplication.class, args);
        }catch (Exception e){
            e.printStackTrace();
        }
    }


}
